package com.xidata.dict.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@TableName("xidata_text_dict")
@Data
public class TextDict {

    public TextDict() {
    }

    public TextDict(String sourceLanguage, String targetLanguage, String sourceText, String targetText) {
        this.sourceLanguage = sourceLanguage;
        this.targetLanguage = targetLanguage;
        this.sourceText = sourceText;
        this.targetText = targetText;
    }

    /**
     * id
     */
    @TableId("id")
    private Long id;

    /**
     * 语言
     */
    @TableField("source_language")
    private String sourceLanguage;

    /**
     * code target_language
     */
    @TableField("target_language")
    private String targetLanguage;

    /**
     * 文本
     */
    @TableField("source_text")
    private String sourceText;

    /**
     * 文本
     */
    @TableField("target_text")
    private String targetText;

}
